package system.student.entity;

public class Dept {
    private Long id;
    private String department;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getDepartment() {
        return department;
    }

    public void setDepartment(String department) {
        this.department = department;
    }

    public Dept(Long id, String department) {
        this.id = id;
        this.department = department;
    }

    public Dept() {
    }


    @Override
    public String toString() {
        return String.format("| %-5d | %-20s |", id, department);
    }

}
